package com.kws.system.domain;

import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

/**
 * <b>SysUserMessage</b>
 *
 * @description: SysUserMessage <br>
 * @date: 2024/11/5 16:45 <br>
 * @author: lhm <br>
 * @version: 1.0 <br>
 */
public class SysUserMessage implements Serializable {
    @ApiModelProperty(value = "主键ID")
    private Long id;

    @ApiModelProperty(value = "用户ID")
    private Long userId;

    @ApiModelProperty(value = "消息ID")
    private Long messageId;

    private static final long serialVersionUID = 1L;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getMessageId() {
        return messageId;
    }

    public void setMessageId(Long messageId) {
        this.messageId = messageId;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", userId").append(userId);
        sb.append(", messageId=").append(messageId);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}
